<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a>主页</a></li>
			<li><a>出款服务管理 </a></li>
			<li class="active"><strong>出款服务详情</strong></li>
		</ol>
	</div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-controller="serviceDetailCtrl">
	<form class="form-horizontal">
		<div class="form-group">
			<div class="row">
				 <div class="col-lg-12">
		            <div class="tabs-container">
		                <uib-tabset>
		                    <uib-tab>
		                    	<uib-tab-heading>
		                    		 <span class="block m-t-xs">
		                             	<i class="fa fa-laptop"></i>
		                                <strong class="font-bold">基本信息</strong>
		                             </span>
		                        </uib-tab-heading>
		                        <div class="panel-body">
		           					<div class="row">
										<div class="col-lg-12">
											<div class="form-group">
												<label class="col-sm-2 control-label">收单机构：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.acqOrgName}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">服务类型：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.serviceType | formatDropping:moneyServiceType}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">服务名称：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.serviceName}}</p>
												</div>
											</div>
										    <div class="form-group">
												<label class="col-sm-2 control-label">每笔出款限额：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.outAccountMinAmount | number:2}} - {{serviceBaseInfo.outAccountMaxAmount | number:2}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">出款限额:</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.dayOutAccountAmount | number:2}}</p>
												</div>
											</div>
											<div class="form-group" ng-show="serviceBaseInfo.serviceType==11">
												<label class="col-sm-2 control-label">身份证月累积最大提现额:</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.icMonthMaxAmount | number:2}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">剩余额度：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.lastAmount | number:2}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">每日限额重置:</label>
												<div class="col-sm-4">
													<p class="form-control-static" ng-show="serviceBaseInfo.dayResetLimit==1">重置</p>
													<p class="form-control-static" ng-show="serviceBaseInfo.dayResetLimit==0">不重置</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">打款预警额度：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.outAmountWarning | number:2}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">跳转服务预警额度：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.transformationAmount | number:2}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">优先等级：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.level | formatDropping:priorities}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">提现自动关闭提示：</label>
												<div class="col-sm-10">
													<p class="form-control-static">{{serviceBaseInfo.antoCloseMsg}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">备注:</label>
												<div class="col-sm-10">
													<p class="form-control-static">{{serviceBaseInfo.remark}}</p>
												</div>
											</div>
										</div>
									</div>
								</div>	
							</uib-tab>
		                    <uib-tab>
		                    	<uib-tab-heading>
		                    		<span class="block m-t-xs">
		                             	<i class="fa fa-desktop"></i>
		                                <strong class="font-bold">服务管控费率</strong>
		                            </span>
		                        </uib-tab-heading>
		                        <div class="panel-body">
		                        	<h5>代付服务费率</h5>
		                          	<div class="gridStyle" ui-grid-resize-columns ui-grid="agentServiceRateGrid" style="height: 250px;"></div>
		                          	<input type="button" class="btn btn-new" value="点击显示历史费率>>" style="margin: 3px 0 3px 0;" ng-click="queryAgentServiceRate()" ng-hide="btnIsHide1">
		                          	<br>
		                          	<div ng-if="serviceType==2">
			                          	<h5>垫资资金成本费率</h5>
			                          	<div class="gridStyle" ui-grid-resize-columns ui-grid="costServiceRateGrid" style="height: 250px;"></div>
			                          	<input type="button" class="btn btn-new" value="点击显示历史费率>>" style="margin: 3px 0 3px 0;" ng-click="queryCostServiceRate()" ng-hide="btnIsHide2">
			                        </div>
		                          	<div class="block m-t-xs">
		                           		<strong>备注：</strong><br/>
										每笔固定金额1元，则填写商户费率1.00;<br>
										每笔扣率为0.1%则填写商户费率0.1%;<br>
										每笔扣率为0.1%，保底1元则填写成本费率1.00~0.1%;<br>
										每笔扣率为0.1%，封顶3元，保底1元则填写商户费率1.00~0.1%~3.00;<br>
										每笔扣率为0.1%加上固定金额1元，则填写商户费率0.1%+1.00;<br>
										单笔阶梯扣率如10000.00元以下，扣率0.38%，10000.00元及以上扣率0.37%，则填写0.38%&lt;10000.00&lt;0.37%;<br>
										每月阶梯扣率如10000.00元以下，扣率0.38%，10000.00元及以上扣率0.37%，则填写0.38%&lt;10000.00&lt;0.37%;<br>
								   </div>
		                        </div>
		                    </uib-tab>
		                </uib-tabset>
		            </div>
		        </div>
			</div>
			<div class="col-lg-12 bgff">
				<div class="col-sm-12">
					<div class="col-sm-2"></div>
					<div class="col-sm-8">
						<button class="btn btn-primary8 btn-rounded btn-block" type="button" ng-click="closePage()">关闭</button>
					</div>
				</div>
			</div>
		</div>
	</form>
</div>